package com.xu.cloud.sample.api.dto;

import com.xu.cloud.common.desensitization.Desensitization;
import com.xu.cloud.common.desensitization.SensitizationEnum;
import com.xu.cloud.common.pojo.http.resp.BaseResponse;
import io.swagger.annotations.ApiModel;
import lombok.Data;

/**
 * @author xuguan
 * @since 2025/1/21
 */
@ApiModel(description = "脱敏示例返回对象")
@Data
public class DesensitizationResp extends BaseResponse {
    @Desensitization(SensitizationEnum.CHINESE_NAME)
    private String chineseName;
    @Desensitization(SensitizationEnum.ENGLISH_NAME)
    private String englishName;
    @Desensitization(SensitizationEnum.MOBILE_NO)
    private String mobileNo;
    @Desensitization(SensitizationEnum.EMAIL)
    private String email;
    @Desensitization(SensitizationEnum.ID_CARD)
    private String idNo;
    @Desensitization(SensitizationEnum.BANK_CARD)
    private String cardNo;
    @Desensitization(SensitizationEnum.ADDRESS)
    private String address;
}
